<?php
	class hocsinhbs
	{
		public $MaHocSinh = "";
		
		public $HoTen = "";
		public $NgaySinh = "";
		public $Phai = "";
		public $DanToc = "";
		public $DiaChi = "";
		public $DienThoai = "";
		public $GhiChu = "";
		public function Add()
		{
			$db = new hocsinhdb();
			return $db->Add($this->MaHocSinh,$this->HoTen,$this->NgaySinh,$this->Phai,$this->DanToc,$this->DiaChi,$this->DienThoai,$this->GhiChu);
		}
		
		public function Delete()
		{
			$db = new hocsinhdb();
			return $db->Delete($this->MaHocSinh);
		}
		
		public function Update()
		{
			$db = new hocsinhdb();
			return $db->Update($this->MaHocSinh ,$this->HoTen,$this->NgaySinh,$this->Phai,$this->DanToc,$this->DiaChi,$this->DienThoai,$this->GhiChu);
		}
		
		public function GetList()
		{
			$db = new hocsinhdb();
			return $db->GetList($this->MaHocSinh ,$this->HoTen,$this->NgaySinh,$this->Phai,$this->DanToc,$this->DiaChi,$this->DienThoai,$this->GhiChu);
		}
		public function Find()
		{
			$db = new hocsinhdb();
			return $db->Find($this->MaHocSinh ,$this->HoTen,$this->NgaySinh,$this->Phai,$this->DanToc,$this->DiaChi,$this->DienThoai,$this->GhiChu);
		}
		
	}
?>